﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/manager/manager.master" AutoEventWireup="true" CodeFile="EditTemplate.aspx.cs" Inherits="manager_pages_EditTemplate" Title="Untitled Page" ValidateRequest="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="../scripts/prototype.js"></script>
<script type="text/javascript" src="../scripts/EditTemplate.js"></script>
<div style="margin:auto auto auto auto;float:none;width:95%;">
	<h2>Edit Template</h2>
	<div>Available Templates: <select id="ddlTemplate"><option value="">Choose a template...</option></select>
	<input type="button" value="Create New..." id="btnNew" /><div id="ntf" style="display:none;">Template Name:<input type="text" id="tname" /><input type="button" id="btnCreate" value="Create" /></div>
	</div>
	<div><textarea id="txtTemplate" rows="20" cols="80" wrap="off" style="width:100%;height:300px;"></textarea></div>
	<div><input type="button" id="btnUpdatePreview" value="Update Preview" disabled="disabled" /><input id="btnSave" type="button" value="Save Changes" disabled="disabled" /></div>
	
	<div class="toolbar">Preview</div>
	<iframe width="500" id="ifPreview" src="templatepreview.aspx" style="width:100%;height:300px;" />
</div>
<script type="text/javascript">
init();
</script>
</asp:Content>

